update set_migration_counter sql to 24