refactored text updating methods