add lambda for each delete