changing currentStates

changing how currentStates is updates so that old currentStates don't
stay in the array when they shouldn't