update a connector file