update goModel with reference to model through attribute