Saves node states