update the template's last_used_time when making a database from it