add math event migration