code inventory updated