fix item for working with arrays
implement sync and async update