fixed a small bug with sync updates