``` ruby
 def update
    @ew_management = Company.first
    @ew_management.update_attributes(company_params)
    if @ew_management.save?
      redirect_to dashboard_path
    else
      render :edit
    end
  end
```