updated edit comments controller.