update repl with default onrequire