update example for cjs