update patches from gluon