update authenticate