Update method added; new, edit vies refactored