add commit.html template update endpoints