update content of the match xml patterns