change template layout