update for publicOnly