fix edge case in viewPath
remove preventUpdates mechanism, since it caused more trouble than it helped
redo the implementation of square brackets again to fix issues and be more efficient