[BUG] Save domain after updating via http.
Merge branch 'http-api'