added an update command for os x, brew and npm