update state for testing