update to new hgl-rs