update for ps command