updated documentation and templates