def update
    authorize @project, :update?
    respond_to do |format|
      if @project.update(project_params)
        format.html do