doing automatic update stuff with new schema