small changes - tried to set up periodic update  but didn't finish