added import the old database history