Update the active directory mapping.