update SERVER_NAME for use in other functins