added data tracking when the user edits the user profile