Adding Updating Code of String Matching