add recipient id and type