add update product method