update reverse_array file