update class
main class for update server