Add Update_population Function and test