If the order of attachment is discharged it shall be the duty of the clerk of the court in which the action is brought to certify that fact, together with the time when the order was discharged, to the register of deeds in whose office the copy of the order has been recorded as aforesaid, whereupon such register shall file such certificate and write across the record of such copy the word "discharged," and also the time of discharge as shown in the certificate.