read update for cli usage