updates selected chars