edit attributes in classes