updated miles db method, for classrooms
update miles, for classroom
errors with this commit during merging
working on usecases