update folderPath remote correctly