update client, list, persom and template to use api_key