updates file path