def update
      @page = Page.find(params[:id])
      if @page.update(page_params)
        head :no_content
      else