Sync using cakedb