updates view path handling and context passing