modify api and account arch