update invite example after changes in commit
23f8b420778d8e99e9a7c16f9a2f9b81c78f4e96