update example2 and server