updating treatment table