update params syntax in product controller