adds associations to post