modify config for server