change update_logic using displayedTaskid
apply changes for update_logic in update tests