update container, modify array