Updated sync time update function