update page template and css styles