clean up update_legacy_all (make it look modern)