regenerate html