change label print base on the template