update guard