update code and page style