save last connection config