Minor modification to edit account settings method