Link deleting and changing the status of sub task to the parent task