migrate messages