Updated html endpoint