added delete method and path