update reference to post parent in attachment view