Improve updating accounts