Updated res and name.