update metaprogramming on scope.