Update group memberships on login as well as in sync