Add year and edition attributes to book