Updated populate task for countries