update viewmodel dependency