CRUD for Attributes - polished version