add the select field to relation tables