update for use with grunt v1