add python function to add serial numbers and update req tags