add refresh function to rank table view