saving history added