update defer