Updating key and client_id.