fix object release in enableUpdates