Oops, update p_ei instead of returning it to empty air.