updating state options