update templates and guide to bcrypt version 3.1