add linking related entities from post custom data