updating text rendering