updating invite structure and create-invite rpcs