Better integration of html writing and version update