Update settings for determine if is localhost or not