update version comparison