update for latest version of pegasus