View update and execute refactoring

Last PR was merged too fast, so some bugs was merged.
Bugs corrected.
Execute refactored.
you pass this option in template
you should not check it with `exists`