updated Edit action.

Updated edit action to work with the drop down content menu.