Changed to use server response to update viewmodel.