save and load relations from DB