def update
      @project = Project.find(params[:id])

      respond_to do |format|
        if @project.update_attributes(project_params)