allow add or remove membership of project
update the use of method Project#getMemberships()