delete track functionality