fix: use $render to update the view