gui sample update