`updateCollaboratorsRights` overwrites what `updateOwnerRights` does, if there are managing collaborators. You should append to the previous value present in the right object instead.