data update functions to be called from GUI buttons