set delete method