added timer for updating plots