template/sql change apparently