updatd pivot query with initial stock remove static product id