updated documentation with clearer indication how to modify the template code