update set script for windows