updating starting dir