working periodic update