Updates paths file