add rank_action to finnish_data, add topic to rank_action