update language array