fix version update repeated bug