updating plots