Update Java event builder example