update for inventory