update create book api