on wakeup update