add templates for all tables