update grunt compile environment.