update some parameter: undo, putrantime