update plotting and modify tree filter