update the base html file