add button to implement edit