update for metamodel API