fixed small error in api;add book now updates data