Update time_layer.c