Update language function