changed html templates for ranking generation