add insert(template ver) and deprecated attribute