update cache by last 5 pages'