minor changes in views
no longer required, handled in the view
added condition for making logic for new/edit the same