added delete method on path