Adjusted model and controller to use the new way of storing form inputs in the params