re-generate html