added delete feature for attributes