updated pegasus with new cache feature