added "update" method to GUI objects