added fields for attribute editing