update filepath patch