add relationship among tables