Make UPDATE_CHECK_PERIOD actually work