updatd pivot query with initial stock