check updatedExisting flag in mongo response