set time after refresh