erp test sql script update