adding updating auth flow