update lambda example