logic.auth.update is a mess