fixed auto update error callback (issue #244)