Fixed OKA update and responses for deletion/update

Change-Id: I49116371944e975ed21d0b3ffe0770862552a3d8
Signed-off-by: yshah <shahithya.y@tataelxsi.co.in>
diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py
index ea7a236..3728943 100644
--- a/osm_nbi/nbi.py
+++ b/osm_nbi/nbi.py
@@ -2133,7 +2133,7 @@
                             engine_session, engine_topic, _id, None, kwargs
                         )
                     if indata:
-                        if indata.get("name") or indata.get("description"):
+                        if isinstance(indata, dict):
                             op_id = self.engine.edit_item(
                                 engine_session, engine_topic, _id, indata, kwargs
                             )