loggin template result on change