some more fixes for attribute an methode

- fixes for undo/redo of delete attribute an methode
- fixes for undo/redo of create attribute an methode