Changes in update rating function. Likes moved to the index page.