add amdquery document