updating classifier