updating relationship of Languages and Formats tables.