public function auto_update_theme( $update, $item ) {
		if ( ! apply_filters( 'Boldgrid\Library\Update\isEnalbed', false ) ) {
			return $update;
		}

		// Old settings.
		$themeAutoupdate = \Boldgrid\Library\Util\Option::get( 'theme_autoupdate' );

		// Update if global setting is on, individual settings is on, or not set and default is on.
		if ( ! empty( $themeAutoupdate ) ||
			! empty( $this->settings['themes'][ $item->theme ] ) ||
			( ! isset( $this->settings['themes'][ $item->theme ] ) &&
			! empty( $this->settings['themes']['default'] ) ) ) {
				$update = true;
		}

		return $update;
	}