update country function on multiple file