To improve edit action