fixed frequent update problem