Added sleep to update