fixed update and register methods to return long
added update methods for address and password updates