bios: Update bios_active version after code update

When BIOS is updated, update the bios_active's version so that it shows
the expected version, otherwise it shows the version before the update.

The new uploaded version is not deleted in this commit.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I93ea834411ae48054d6514517d6e57a4d69e4b92
diff --git a/activation.cpp b/activation.cpp
index f270504..5490cd9 100644
--- a/activation.cpp
+++ b/activation.cpp
@@ -429,6 +429,8 @@
             activation(softwareServer::Activation::Activations::Active);
 
             log<level::INFO>("Bios upgrade completed successfully.");
+            parent.biosVersion->version(
+                parent.versions.find(versionId)->second->version());
         }
         else if (newStateResult == "failed")
         {