modify history and rank page