Created the delete and update methods