forgot migration
add invitation codes
make the multi_xml patch conditional