update to publish3d and the server side code.