Insert into ... (...) (Select...) on duplicate key update
if you want to change the value with the new one, you can use: 

ON DUPLICATE KEY UPDATE 
    doctets = VALUES(doctets) ;


or if you want to add the new value to the existing one: 

ON DUPLICATE KEY UPDATE 
    doctets = doctets + VALUES(doctets) ;