set context dir after track is added