Added new controller to handle adding\updating