update for persistence api