Update sleep time