got edit and delete to work