update real path after path change