updating sequences after mirgration