changes for batch up and multivendor