database changed

change the state table