Index: bp-groups.php
===================================================================
--- bp-groups.php	(revision 1248)
+++ bp-groups.php	(working copy)
@@ -92,8 +92,6 @@
 	
 	require_once(ABSPATH . 'wp-admin/upgrade-functions.php');
 	dbDelta($sql);
-	
-	update_site_option( 'bp-groups-db-version', BP_GROUPS_DB_VERSION );
 }
 
 function groups_wire_install() {
@@ -165,6 +163,8 @@
 			
 		if ( function_exists('bp_wire_install') && get_site_option('bp-groups-db-version') < BP_GROUPS_DB_VERSION )
 			groups_wire_install();
+
+	  update_site_option( 'bp-groups-db-version', BP_GROUPS_DB_VERSION );
 	}
 }
 add_action( 'admin_menu', 'groups_check_installed' );
Index: bp-xprofile.php
===================================================================
--- bp-xprofile.php	(revision 1248)
+++ bp-xprofile.php	(working copy)
@@ -116,8 +116,6 @@
 	require_once( ABSPATH . 'wp-admin/upgrade-functions.php' );
 
 	dbDelta($sql);
-	
-	update_site_option( 'bp-xprofile-db-version', BP_XPROFILE_DB_VERSION );
 }
 
 function xprofile_wire_install() {
@@ -202,6 +200,8 @@
 	
 	if ( function_exists('bp_wire_install') && get_site_option('bp-xprofile-db-version') < BP_XPROFILE_DB_VERSION )
 		xprofile_wire_install();
+
+	update_site_option( 'bp-xprofile-db-version', BP_XPROFILE_DB_VERSION );
 }
 add_action( 'admin_menu', 'xprofile_add_admin_menu' );
 
