example for send + receive + doc updated