Adding delete and update views for treatments