update states (back to the roots)