remove shouldComponentUpdate and use proper key so that no dom elements are created or removed