after changing what needed to be changed
mutatis mutandis
–
after changing what needed to be changed