update of main window of environment
change method toString for fluent