update ip config in env