update GlassClient code