update listener to last record