Update sync algorithms for race condition