update code for shop setting and grunt publish tools