Update for the newer version of pegasus