Add optional year_published and edition attributes to books