added update to peg