change remote config and local