change same path in state and possibility modify absolute path on relative