Fix of new code update path

Changes:
   - Added support for new code update path
     /redfish/v1/UpdateService/update

Tested:
   - Ran successfully
     oem/nuvoton/test_redfish_mcu_fw_update.robot
     redfish/update_service/test_redfish_host_code_update.robot
     redfish/update_service/test_redfish_signed_image_update.robot

Change-Id: I01282c2c25ee43990fa9ba905243bbebed5da774
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/redfish/update_service/test_redfish_host_code_update.robot b/redfish/update_service/test_redfish_host_code_update.robot
index b9e8aed..e4d78c8 100644
--- a/redfish/update_service/test_redfish_host_code_update.robot
+++ b/redfish/update_service/test_redfish_host_code_update.robot
@@ -81,6 +81,10 @@
     Redfish.Login
     ${post_code_update_actions}=  Get Post Boot Action
     Set ApplyTime  policy=${apply_Time}
+
+    # URI : /redfish/v1/UpdateService
+    # "HttpPushUri": "/redfish/v1/UpdateService/update",
+
     Redfish Upload Image And Check Progress State
     Run Key  ${post_code_update_actions['Host image']['${apply_time}']}
     Redfish.Login
@@ -92,7 +96,12 @@
     [Documentation]  Update the firmware via redfish interface and do BMC reboot.
 
     Set ApplyTime  policy="Immediate"
-    Redfish Upload Image  ${REDFISH_BASE_URI}UpdateService  ${IMAGE_FILE_PATH}
+
+     # URI : /redfish/v1/UpdateService
+     # "HttpPushUri": "/redfish/v1/UpdateService/update",
+
+    ${redfish_update_uri}=  Get Redfish Update Service URI
+    Redfish Upload Image  ${redfish_update_uri}  ${IMAGE_FILE_PATH}
     ${image_id}=  Get Latest Image ID
     Wait Until Keyword Succeeds  1 min  10 sec
     ...  Check Image Update Progress State  match_state='Updating'  image_id=${image_id}