updated api to testing key