updates plot labels