update officegen.js