change templates format