using references for snaps in links instead of ids

more direct access to linked snaps