update sleep
fix sleep