update ranking cache