adding delete method on mapper