update gui plot