added functionality in delete product controller