def put(self, template_id):
        template = BlueprintTemplate.query.get_or_404(template_id)

        db.session.expunge(template)
        make_transient(template)
        template.id = uuid.uuid4().hex
        template.name = format("%s - %s" % (template.name, 'Copy'))
        db.session.add(template)
        db.session.commit()