update packet init and copy funcs