adopt rega-api changes