update for node v0.10