use edit to update the contries