update with backslash detection