p_id changed