update regexp type express