updated migrate script and it's migrations