FIX: relations not being imported on updating existing docs