Add sync command as standalone
Fixes
Fix left join on update
Fix len exists