update version state