Working on getting edit and delete functions to work