Minor fixes

- explicitly declared instance varibales that were not already
declared. This is needed for the class diagram
- added an alert window to the edit connection to tell the user whether
the update was successful or not