Update relations in document item model