try synchronized Scheduler.update