update root
format html
refactor main