update inventory when add sub variant