cleaning up json import
store old history