update logging
set last_migrated_id per migration instead of per action