Index: trunk/include/onupdate.php
===================================================================
--- trunk/include/onupdate.php	(revision 174)
+++ trunk/include/onupdate.php	(revision 179)
@@ -48,11 +48,8 @@
 
 	/* activate the xpressme plugin */
-/* When updating it, it doesn't execute it because other plug-ins are invalidly set. 
-	$plugin_current = "xpressme/xpressme.php";
-	update_option('active_plugins', array($plugin_current));
-	include_once(dirname(__FILE__) . '/../wp-content/plugins/'.$plugin_current);
-	do_action('activate_'.$plugin_current);
-	$msgs[] = 'The xpressme plug-in was activated.';
-*/	
+	require_once dirname( __FILE__ ).'/xpress_active_plugin.php';
+	if (xpress_pulugin_activation('xpressme/xpressme.php')){
+		$msgs[] = 'The xpressme plug-in was activated.';
+	}
 	
 //	update_option("blog_charset", wp_blog_charset());
