added updateViewDirections(), but still have problem