updating accounts model