When a case is revised under this Chapter by the High Court or a Sessions Judge, it or he shall, in the manner provided by section 388, certify its decision or order to the court by which the finding, sentence or order revised was recorded or passed, and the court to which the decision or order is so certified shall thereupon make such orders as are conformable to the decision so certified; and, if necessary, the record shall be amended in accordance therewith.