fix demo to update translation every second