update the number of reference when ltr changes
Merge pull request #1305 from ruil2/ltr_update_1

update the number of reference when ltr changes