got edit and delete working