new style for edit object