Bad $rs in GetUpdateSQL. Connection or SQL invalid. Try using $connection->debug=true;
NDT Inspection Service
Product3