modifies the selection for features
updates the code book