updated migration seed function