added migrate method to event builder.