fixed gui update