Update source code for windows