added sleep for updater