Image in a template view

Hello,
i am using an image in a template view.

{view:"template", id:"mytop", template:"<img src='Easycloud_Logo4.png' height='80px'/>", height:100 },.....

It works fine.
Now i want to change this image dynamical. Eventually with a toogle button.
First i want use the define method, but this does not work.

 $$("mytop").define("template","<img src='Easycloud_Logo_con.png'height='80px'/>" );

Thanks in advance.
Ralph

@christora
try to use setHTML
or call refresh after define