update repair.go