Update main server program