removing unused code and added in missing halo update for u