Fixed bug with updating translation