update sleep time
update d