implement migration event helper