updates rankings