update gui without intellij's lib