modify Joint table in db