update item_batch js library