Add methods to update users of projects in backend

Didn't you once tell me to always use brackets for if-statements?