update page and display confirmation when deleting