Added family membership upgrade calculations