def update_token(self, old_device_token, new_device_token):
        logging.info('update_token(): ' + repr((old_device_token, new_device_token)))
        if 'update_token_callback_func' in GCM_CONFIG:
            bad_token_callback_func_path = GCM_CONFIG['update_token_callback_func']
            mod_path, func_name = bad_token_callback_func_path.rsplit('.', 1)
            mod = importlib.import_module(mod_path)
            
            logging.info('update_token_callback_func: ' + repr((mod_path, func_name, mod)))
            
            bad_token_callback_func = getattr(mod, func_name)
            
            bad_token_callback_func(old_device_token, new_device_token)


    # Currently unused
dataset/ETHPy150Open gregbayer/gae-python-gcm/gae_python_gcm/gcm.py/GCMConnection.update_token/original