Updated edit account functionality.