in migration and out migration update indivudal residence end type