update UI, fixes #26