updated schemas relations