add missing attributes to books