updated dataset model to cover statistics etc.