updaing log