Update onReceive_length_check