add link flags to out link object