Upgrading particle system for custom function