add on refresh event to workspace cache.