update dist from gui