updated api url and fixed AID to URID lookup