Adding support for updating inventory