Add rating to books table