update deprecated context lookups