update auth method