update gui content
improve error reporting