change pagination, add templates to columns