The social media platform will replace a real estate investment trust on the index.