Sec 362 CrPC (now Sec 403 BNSS) allows a court to correct only clerical or arithmetical errors in a judgment or final order after it is signed. For errors in recording a witness's deposition, the procedure is under Sec 278 CrPC (carried into the BNSS): the evidence is read over to the witness in his presence, and if he denies the correctness of any part, the magistrate may correct it or record a memorandum of the objection. If a clerical error is noticed later, a party can file an application before the trial court pointing out the error and seeking correction or a note, and the court can correct an obvious clerical mistake (such as a wrong name or date) after hearing both sides, under its inherent powers; substantive changes to what the witness said cannot be made later. Raise objections promptly when the deposition is read over.