add validation of image_url length and modify book_spec