update for api changes in reflect