update constant in product controller