Udpdate docpad.js to content event