updaing logger