script for update the barcode of assets