updating post references.