Fixed autoupdate not creating tables on error