rebuild server and deploy