updates to get delete button working

updates to get delete button working