update authentication