updating deallocer for views