re-adding relationships to entitites