fixed bug in updater class