Updated put /api/library to return updated book