Clearing and updating strings