add delete method, working on update