dynamic schema change and reference change with collection creation