some improvements to translation update script