updated dataset model and controller