update static server function