In my projects, users have opportunity to edit data about other users. So, I should keep actual information about each user in mixpanel, I do next steps:
mixPanel.reset(); // before I identified as me
mixPanel.identify(anotherUserId); // identify as another user for editing info for him
mixPanel.peopleSet(newDataAboutAnotherUser); // set new data about another user
mixPanel.identify(myUserId); // return to my user
Tell me, please, if these steps are correct or there are special algorithms for this situation?