Update schema and relationships