fix bug where viz wasn't updating data correctly