set time on synchronize