data refactoring, registration and account update