add IDs to media keys