changed changeToVis function in vis model