Update packet to use new factory constructor