fixed bug caused by refactoring; now auto-update is working again