add rank insert, fix reload bug
add insert rank support