Update authentification mode