update firmware

added evented ultrasonic sensors, median filtering sensors