update for authentication