skeleton of update from eh gui