updated rating methods and renamed the 'database'-view to 'links'