Added debug logging to syncUpdateLastTime