update ip
fix bug of time formating