fix design and make dblclick for creation and updation