update python setting