update energy consumption model, rewrite import to bulk delete data instead of doing row by row comparisons