now p_data increment sansyo_count of new data before decrementing sansyo_count of old_data
added support of continuation to cond