update userDetail() function