dynamic update bug for unnecessary refresh fixed