added basic editing to problem controller.