update project set permission = #{permission} where id = #{projectId}