update table layouts