fix pattern updater