Update Thunk for new version of virtual-dom