docs: update examples to remove `new` usage