update arrays file