In Sitecore, I am referring one content item using multilist. While checking selected content item references in content editor Navigate -> links in CM it's showing all referring item. After published to web database, it's not displaying latest referred item. But, same functionality working fine in local system. In my code, I have used following snippet.
After rebuild link database, it's working as expected. Please help how to fix this issue?