added timestamp and immediate update in ~/.bash_history