update arrays with resources and some new methods