Update product db func