Update dirstack file