Why is this updating `session.user-infos` directly and then calling `updateUserInfos`?