update STATE