update version count