fixed sleep on update_cb