Update Ping_code