Update tree html based on base.html.