insert data into dictionary tables