added edit in detail