update user profile and validation