update features matrix