schema update. functions are not required any more