update GUI - first version of callbacks