update item script