change particle update to support full script engine