updating behavior of authentication process