clear inventory when updating