add reference to a post and rename it