corrected bug with the update user feature