update waves plot