modified edit method

- removed instance of Logic
- did not know you could access directly the add and delete