update reprint-function