fixes #40

records is 1 or 0 and not the document updated, that's why we can't access _id
Check if we got an error and if yet log it
Then check if result is 1, which indicates the document was updated, and if yes write the response