call put on the client using a template