arrange index page
update templates