Update Authentication API Func