update ratings
add rank to rating table