fix product update with wrong ref on categories