change template layout.