Updating the updateLocalInstance to work again