Change template format