Update templates/history.html