add template column automatically generation