update challenge controller to remove old generated code