fix bug

fix update device last traffic error