Update relationship objects; add relationships test