update collaborator add and remove function