Regenerating update_halo kernels