Implemented api for creating and editing attribute values