Update to controller to allow editing of due date