updated internal array