Update reference prefix manager to the new version of adapters.

@phgross plz review & merge