renamed main window.
changed updateDetails and save edited patient to use patient