update cache scheme