update plotting scripts