updating pegasus ref; fixing dependencies