Update auth flow