update cache style