Updates to edit and delete functions…still not working yet, though