Saving relations implemented