Fix issue with tink template update
using stdin
#588
Merged
tink template update
using stdin
#588