repl updates for refactor