add db wrapper \n inverse relation table should be developed