Update to get local instance id