Update memo decorator