Refactor update texts to make it more readable