updates to sleepwatcher