precompile template
revised on updating all tabular