added generic update and generic delete class based views