update FileEndpoint