def update
    @company = Company.find(params[:id])

    respond_to do |format|
      if @company.update_attributes(company_params)