adding new update parameter -trd for inserting total reads