Added update text to pre script