Updated the states