Changing unit variables now updates the interface