def render_update(**options)
            if options[:object].errors.empty?
              render json: serialize(options[:object], **options), status: :ok
            else
              render json: options[:object].errors, status: :unprocessable_entity