fix issues with autotest and update table schema