add put method to client