improve update view model
fix bug when press on marker in the view update process the app was
crashed