added update lexer script for OSX