task delete and update