add app_name to metadata