fix expense controller to save new inputs