updates authentication