Update htmlcode