improvements of the modeler + link with instances