don't run state update script unnecessarily often