Fixed seg fault caused by free in client update. Fixed incorrect typing issues in update at NetworkRouter.