update deglut to new form