updating modal view/modal template