added periodic update