fix update for ngmin. ready for testing.