Update stringoccurence