update for display api change