update plotting