update features.
check if array first