account update implementation