optimize periodic syncs and sync's on updates