Move if clause in ncurses::Session::update around