update domain and gems