fixed issue with graphpanel not updated