updated track function (solved bug) and sdk