updating ngWidApp... addtomodel logic