Pinsets reloaded automatically

We are using pinsets in a way to tie calls from our FreePBX system into our ticketing system for tracking purposes. Currently we have it setup so that when our agents make outbound calls they must enter a pinset code. This corresponds to the open tickets in our ticket system. We have written a program that refreshes the available pins (i.e. open tickets) in the MySQL pinsets database. However, this does not seem to be processed until we reload the configuration.

So, is there either a way to make pinsets more dynamic so it gets polled each time there is a call made OR how can we program the reloading of the configuration from our Windows program that is updating the pinsets table.