slight changes to editAccount