add last value template to client