added update scripts for flash and nodejs