updated span table layout