added update halo compilation