updated the secured template