Only add attributes if there are any new ones