Update and delete methods added in views.py