Index: /trunk/include/onupdate.php
===================================================================
--- /trunk/include/onupdate.php	(revision 127)
+++ /trunk/include/onupdate.php	(revision 128)
@@ -10,13 +10,12 @@
 	// transations on module update
 
-	global $ret ; // TODO :-D
-
+	global $msgs ; // TODO :-D
 	// for Cube 2.1
 	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
 		$root =& XCube_Root::getSingleton();
 		$root->mDelegateManager->add( 'Legacy.Admin.Event.ModuleUpdate.' . ucfirst($mydirname) . '.Success', 'xpress_message_append_onupdate' ) ;
-		$ret = array() ;
+		$msgs = array() ;
 	} else {
-		if( ! is_array( $ret ) ) $ret = array() ;
+		if( ! is_array( $msgs ) ) $msgs = array() ;
 	}
 
@@ -38,5 +37,5 @@
 	if ( get_db_version($mydirname) != $wp_db_version ){
 		if( function_exists( 'wp_upgrade' ) )	{	
-			wp_upgrade();
+			wp_upgrade();			
 		} else {
 			wp_cache_flush();
@@ -45,4 +44,5 @@
 			wp_cache_flush();
 		}				
+			$msgs[] = 'Upgrade Wordpress Database Ver.' . get_db_version($mydirname) .' to' . $wp_db_version;
 	}
 
@@ -52,4 +52,6 @@
 	include_once(dirname(__FILE__) . '/../wp-content/plugins/'.$plugin_current);
 	do_action('activate_'.$plugin_current);
+	$msgs[] = 'The xpressme plug-in was activated.';
+	
 	
 //	update_option("blog_charset", wp_blog_charset());
@@ -77,4 +79,5 @@
 
 		dbDelta($views_queries);
+		$msgs[] = "$views_table table of XPressME was made.";
 	}
 	
@@ -101,4 +104,5 @@
 			)$charset_collate;";
 		dbDelta($queries);
+		$msgs[] = "$d3forum_link table of XPressME was made.";
 	}
 
@@ -130,5 +134,5 @@
 		$sql = "INSERT INTO $group_role (groupid, role) VALUES (1, 'administrator')";
 		$wpdb->query($sql);
-
+		$msgs[] = "$group_role table of XPressME was made.";
 	}
 	
@@ -136,5 +140,5 @@
 	include_once XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/include/xpress_templates_make.php' ;
 	$t_mess = xpress_templates_make($mid,$mydirname);
-	$ret = array_merge($ret,$t_mess);
+	$msgs = array_merge($msgs,$t_mess);
 	
 	return true ;
Index: /trunk/xoops_version.php
===================================================================
--- /trunk/xoops_version.php	(revision 127)
+++ /trunk/xoops_version.php	(revision 128)
@@ -31,5 +31,5 @@
 $modversion['name'] = ucfirst($mydirname) . ' ' . constant('_MI_XPRESS_NAME') ;
 $modversion['description'] = constant( '_MI_XPRESS_DESC');
-$modversion['version'] = "0.11";
+$modversion['version'] = "0.12";
 $modversion['credits'] = "Wordpress DEV (http://wordpress.org/) XPressME DEV Toemon) (http://www.toemon.com) ;";
 $modversion['author'] = "toemon (http://www.toemon.com)";
@@ -40,5 +40,5 @@
 
 // status
-$modversion['codename'] = "r125";
+$modversion['codename'] = "r128";
 
 // onInstall, onUpdate, onUninstall
