adding diagnostic on table updates