updated visit insert