update cache on testing phase