resolved the bug for edit product by changing to route in the browser window