Add relations to tables, update project Table