addedd new updates for controller, models and views