updating account controller