Added data and metadata to state history