Update dependencies
Simplify ref advertisement

Use geef's pkt function and make use of Enum.map instead of the
recursive functions.