fixed username checking on update a user