changed tracking.sql for new schema