add ip to stats