public function updateChannel( $old, $new, $option ) {
		$old['release_channel']       = ! empty( $old['release_channel'] ) ?
			$old['release_channel'] : null;
		$new['release_channel']       = ! empty( $new['release_channel'] ) ?
			$new['release_channel'] : 'stable';
		$old['theme_release_channel'] = ! empty( $old['theme_release_channel'] ) ?
			$old['theme_release_channel'] : null;
		$new['theme_release_channel'] = ! empty( $new['theme_release_channel'] ) ?
			$new['theme_release_channel'] : 'stable';

		// Plugin checks.
		if ( $old['release_channel'] !== $new['release_channel'] ) {
			Util\Option::deletePluginTransients();
			wp_update_plugins();
		}

		// Theme checks.
		if ( $old['theme_release_channel'] !== $new['theme_release_channel'] ) {
			/**
			 * Action to take when theme release channel has changed.
			 *
			 * @since 1.1
			 *
			 * @param string $old Old theme release channel.
			 * @param string $new New theme release channel.
			 */
			do_action( 'Boldgrid\Library\Library\ReleaseChannel\theme_channel_updated', $old['theme_release_channel'], $new['theme_release_channel'] );

			delete_site_transient( 'boldgrid_api_data' );
			delete_site_transient( 'update_themes' );
			wp_update_themes();
		}

		return $new;
	}