updating view rank