lib: deprecate the old track API