use an updatePeriod to avoid widget services to be killed and never restarted