Changed the delete  to subtract function
Merge branch 'master' of https://github.com/GooruAdmin/insights-data-logger