add update pwd api and application class, changed some method