constructor: fix update for context/global
0.7.1