update check user email function