add delete action and add action