Rebuild dataset