update to rest style & book api