update deprecated context lookups
Merge pull request #6 from lsuits/27up

update deprecated context lookups