Update for delete feature