add edit action and show view