code: def change_object_name(self, old_name, new_name):
          
          h = self._get_object_handle(old_name)
          if old_name in self._object_handles:
              self._object_handles.pop(old_name)
          lua_code = "simSetObjectName({}, '{}')".format(h, new_name)
          self._inject_lua_code(lua_code)
docs: Change object name