fixes in array update, selectors