updated data population script