updates in arrays