update desktop and server scripts