update tinynet for server framework