adding the delete behavior to payments