updated num_proc resources