updating the cache almost works now