update appsgatebox diagram