don't break if endpoints are missing

e.g. after serialization
refactor and add some explanation
explain test
Merge pull request #45 from onefinestay/rel_update_missing_endpoints

Rel update missing endpoints