Update cached value when ip changes