add back-references to ways and relations