inventory update transaction written