SQL changes required for webERP updates