add app_name field to api key