Added ability to edit and delete a med