updating with state information to test