Adding and update state data