Change isNewRecord flag on successful adding of record to arangodb