Improved migration for events, contacts, documents and assessments