Update regex from database