updated sleep time