Code Update including improved packet handling