script for checking updates for pi-web-agent