Fix update bug. Now can update completed task