set options for the client