Updated code in the controller class and added updated jar