wrote server code
update server