Gui update try

tyring gui update works inf eclipse but not outside of ecplipse