def update_project(project):
try:<EOL><INDENT>project_id = project.id<EOL>project = _forbidden_attributes(project)<EOL>res = _pybossa_req('<STR_LIT>', '<STR_LIT>', project_id, payload=project.data)<EOL>if res.get('<STR_LIT:id>'):<EOL><INDENT>return Project(res)<EOL><DEDENT>else:<EOL><INDENT>return res<EOL><DEDENT><DEDENT>except:  <EOL><INDENT>raise<EOL><DEDENT>
Update a project instance.

    :param project: PYBOSSA project
    :type project: PYBOSSA Project
    :returns: True -- the response status code