db update script
tweak to poller heartbeat function - attempt to fix bug when host computer wakes from sleep.