create delete product function