Made the block get updated on inventory change.