updating content for p5 event