update the products json hash