Update the offline sync logic, make sure it is ready to do integration work.