sync tables only when the visualization list is checked

this endpoint is called from table too but is ok